@extends("layouts/admin")
@section('title',"文章列表")
@section('main')
    <h3>新闻列表</h3>

    <form class="form-inline" method="get">
        <input type="text" name="title" value="" class="form-control" placeholder="新闻标题">
        <select name="recommend" class="form-control">
            <option value="">是否推荐</option>
            <option value="1" >推荐</option>
            <option value="0" >不推荐</option>
        </select>
        <select name="online" class="form-control">
            <option value="">是否上线</option>
            <option value="1" >上线</option>
            <option value="0" >下线</option>
        </select>
        <input type="submit" value="搜索" class="btn btn-primary">
    </form>

    <table class="table table-bordered table-condensed table-hover table-striped">
        <tr>
            <td>ID</td>
            <td>标题</td>
            <td>作者</td>
            <td>所属分类</td>
            <td>是否推荐</td>
            <td>是否上线</td>
            <td>创建时间</td>
            <td>操作菜单</td>
        </tr>
        <tr>
            <td>17</td>
            <td>评论测试</td>
            <td>zhang</td>
            <td>英超</td>
            <td><span class="text-danger">不推荐</span></td>
            <td><span class="glyphicon glyphicon-ok"></span></td>
            <td>2018-12-27 14:18:45</td>
            <td>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/index/news/detail/id/17.html" class="btn btn-success" target="_blank">查看</a>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/edit/id/17.html" class="btn btn-primary">编辑</a>
                <a href="#" class="btn btn-danger">删除</a>
            </td>
        </tr>
        <tr>
            <td>16</td>
            <td>保罗不上场却吸引全场目光 想要这件圣诞登T恤</td>
            <td>zhang</td>
            <td>火箭</td>
            <td><span class="text-success">推荐</span></td>
            <td><span class="glyphicon glyphicon-ok"></span></td>
            <td>2018-12-27 09:49:37</td>
            <td>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/index/news/detail/id/16.html" class="btn btn-success" target="_blank">查看</a>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/edit/id/16.html" class="btn btn-primary">编辑</a>
                <a href="#" class="btn btn-danger">删除</a>
            </td>
        </tr>
        <tr>
            <td>15</td>
            <td>全场5分赛季新低！ 合同年生涯最烂他怎么了</td>
            <td>zhang</td>
            <td>NBA</td>
            <td><span class="text-danger">不推荐</span></td>
            <td><span class="glyphicon glyphicon-ok"></span></td>
            <td>2018-12-27 09:48:58</td>
            <td>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/index/news/detail/id/15.html" class="btn btn-success" target="_blank">查看</a>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/edit/id/15.html" class="btn btn-primary">编辑</a>
                <a href="#" class="btn btn-danger">删除</a>
            </td>
        </tr>
        <tr>
            <td>14</td>
            <td>库里竟在三分线外被虐 这得分数据不到哈登1/4</td>
            <td>zhang</td>
            <td>NBA</td>
            <td><span class="text-success">推荐</span></td>
            <td><span class="glyphicon glyphicon-ok"></span></td>
            <td>2018-12-27 09:47:30</td>
            <td>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/index/news/detail/id/14.html" class="btn btn-success" target="_blank">查看</a>
                <a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/edit/id/14.html" class="btn btn-primary">编辑</a>
                <a href="#" class="btn btn-danger">删除</a>
            </td>
        </tr>
    </table>
    <ul class="pagination"><li class="disabled"><span>&laquo;</span></li> <li class="active"><span>1</span></li><li><a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/index.html?page=2">2</a></li><li><a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/index.html?page=3">3</a></li><li><a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/index.html?page=4">4</a></li><li><a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/index.html?page=5">5</a></li> <li><a href="/PSD1809/18_News/Day_05/code/tp5/public/admin/news/index.html?page=2">&raquo;</a></li></ul>
@endsection